package com.qaml.mes.device.vo.eqp;

import com.earth.page.PageRequest;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName CheckUpkeepRecordPageReqVO
 * @Description 检保记录分页请求
 * @Author leikai
 * @Date 2024/3/4 0004 13:34
 * @Version 1.0
 */
@ApiModel(value = "CheckUpkeepRecordPageReqVO", description = "检保记录分页请求")
@Data
public class CheckUpkeepRecordPageReqVO extends PageRequest {

    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    private String eqpCode;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    private String eqpName;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String status;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 检保周期
     */
    @ApiModelProperty(value = "检保周期")
    private String cycle;

    /**
     * 线体
     */
    @ApiModelProperty(value = "线体")
    private String lineBody;

    /**
     * 检保日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检保日期")
    private Date checkUpkeepDate;

    /**
     * 检保开始时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检保开始时间")
    private Date checkUpkeepStartTime;

    /**
     * 检保结束时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检保结束时间")
    private Date checkUpkeepEndTime;
}